﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cooksta_Data
{
    public sealed class Transaction
    {        
        private int _itemID;
        private int _transactionID;
        private string _description;
        private DateTime _transactionDate;
        private int _quantity;
        private double _amount;


        public int ItemID { get { return this._itemID; } set { this._itemID = value; } }
        public int TransactionID { get { return this._transactionID; } set { this._transactionID = value; } }
        public string Description { get { return this._description; } set { this._description = value; } }
        public DateTime TransactionDate { get { return this._transactionDate; } set { this._transactionDate = value; } }
        public int Quantity { get { return this._quantity; } set { this._quantity = value; } }
        public double Amount {get {return this._amount;} set{this._amount = value;}}
        

        public Transaction(int itemID, int transactionID, string description, DateTime transactionDate, int quantity, double amount)
        {
            this._itemID = itemID;
            this._transactionID = transactionID;
            this._description = description;
            this._transactionDate = transactionDate;
            this._quantity = quantity;
            this._amount = amount;
        }

             
    }
}
